powered by
Show the head (first values) or tail (last values) of a SpatRaster or of the attributes of a SpatVector.
head(x, ...) tail(x, ...)
SpatRaster or SpatVector
additional arguments passed on to other methods
matrix (SpatRaster) or data.frame (SpatVector)
show, geom
show
geom
# NOT RUN { r <- rast(nrow=25, ncol=25) values(r) <- 1:ncell(r) head(r) tail(r) # }
Run the code above in your browser using DataLab